home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 January / macformat-020.iso / Shareware City / Developers / Commander Sets / 4D Speech Pack / 4D Speech Pack.rsrc / TEXT_32323_†SP Voice Info.txt < prev    next >
Encoding:
Text File  |  1994-09-14  |  1.3 KB  |  35 lines

  1. SP Voice Info (voice; comment; gender; age) -> err
  2.  
  3.  
  4. voice          string (63) specifys the voice you want to use.
  5. comment    string (255) returns a comment about the specified voice,
  6.                                     i.e. ‚ÄùAdult female voice‚Äú.
  7. gender        integer       returns the gender of the voice:
  8.                    0    Neuter (like robots!)
  9.                    1    Male
  10.                    2    Female
  11. age             integer       returns the approximate age in years.
  12. err             integer       returns the error which occured. 
  13.                                     A value of zero indicates no error occured. See 
  14.                                     below for a list of possible errors.
  15.  
  16. Returns general information about the specified voice.
  17.  
  18. Please don't use this function to discriminate based on gender and/or age. Use it only for your information. And try to act in the same way in the real world‚Ķ
  19.  
  20. Examples:
  21.   $err := SP Voice Info ("*";$comment;$gender;$age)
  22.   $err := SP Voice Info ("Marvin";$comment;$gender;$age)
  23.   $err := SP Voice Info ($voicename;$comment;$gender;$age)
  24.  
  25. Possible errors:
  26.         0  No Error
  27.       -4  Speech Pack can not be used (Speech Mgr not available)
  28.     -50  Parameter error (inside external, not necessarily the
  29.             parameters you pass)
  30.   -108  Not enough memory
  31.   -244  Voice resource not found
  32.  
  33.  
  34.  
  35.